export const getArraySum = arr => arr.reduce((sum, val) => { 
     return sum = sum + val;
    }, 0)